﻿<!DOCTYPE html>
<html>
<head>
    <title></title>

    <link rel="stylesheet" href="/css/default.css" />
    <script src="../Scripts/jquery-2.1.0.js"></script>
    <script src="../Scripts/jquery-2.1.0.min.js"></script>
    <script src="../js/fb.js"></script>
    <script src="../js/adShare.js"></script>
    <script src="/MSAdvertisingJS/ads/ad.js"></script>

</head>
<body>
    <div data-win-control="SdkSample.ScenarioInput">
        <h3 id="RemoveAdsThroughShare">Remove Ads Through Share</h3><br />
        <p>
            This scenario shows how to remove ads by sharing the app on your facebook wall.
        </p>
      
        <div id="myAd" style="position: absolute; bottom: 100px; right: 100px; width: 250px; height: 250px; z-index: 1;">
            <!--data-win-control="MicrosoftNSJS.Advertising.AdControl"
        data-win-options="{applicationId: 'd25517cb-12d4-4699-8bdc-52040c712cab', adUnitId: '10043105', onErrorOccurred: errorLogger}">-->

        </div>

        <p>
            <button id="adStatus" title="Determine the status of the ad.">
                Get Ad Status
            </button>
            Determine the status of the ad.
        </p>
       
        <p>
            <button id="resumeAd" title="ReStart the suspended ad">
                Restart Ad
            </button>
            ReStart the suspended ad.
        </p>

        <p>
            <button id="share2PurchaseButton" class="bt-fs-dialog" title="Login to your account and share to remove the shown ad">
                Share
            </button>
            Login to your facebook account and share to remove the shown ad.
        </p>
        
    </div>
    <div data-win-control="SdkSample.ScenarioOutput">     
            
            <div id="adEvents" style="width:100%; height:110px; overflow:auto">

            </div>     

            <div id="state">
                <!-- The displayed text is provided by js file -->
            </div>
    </div>

</body>
</html>